<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'

</script>

<template>
  <header>
   

    <div class="wrapper">
      <HelloWorld msg="You did it!" />

      <nav>
        <RouterLink to="/">Home</RouterLink>
        <RouterLink to="/about">关于页面</RouterLink>
        <RouterLink to="/news">新闻页面</RouterLink>
        <RouterLink to="/demo1">demo1</RouterLink>
        <RouterLink to="/deng">登录</RouterLink>
      </nav>
    </div>
  </header>

  <RouterView />
</template>

<style scoped>
a{
  margin-right: 10px;
}

</style>
